home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / crocosnack.swf / scripts / frame_6 / PlaceObject2_295_8 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2007-03-20  |  339 b   |  12 lines

  1. onClipEvent(enterFrame){
  2.    if(this.object.zone.hitTest(_parent.croco.crocoZone) and eval("v:animSwallowDone") == true and !eval("v:caughtObject"))
  3.    {
  4.       set("v:caughtObject",true);
  5.       set("v:removeClipName",this._name);
  6.       if(this.object._currentframe == 15)
  7.       {
  8.          set("v:hatCaught",true);
  9.       }
  10.    }
  11. }
  12.